﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace FreeDAM.Domain.Entities
{
    public class Tag : EntityBase
    {
        [Required]
        [MaxLength(100)]
        public string Name { get; set; }
        [DataType(DataType.MultilineText)]
        public string Description { get; set; }
        public int? TagCategoryId { get; set; }
        public virtual TagCategory TagCategory { get; set; }

        public virtual List<Asset> Assets { get; set; }
        public virtual List<RenditionDefinition> RenditionDefinitions { get; set; }
        public virtual List<Rendition> Renditions { get; set; }
    }
}
